package com.eduhzy.ttw.teacher.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import com.eduhzy.ttw.teacher.di.module.PersonInfoModule;
import com.eduhzy.ttw.teacher.mvp.contract.PersonInfoContract;
import com.jess.arms.di.scope.ActivityScope;
import com.eduhzy.ttw.teacher.mvp.ui.activity.PersonInfoActivity;

@ActivityScope
@Component(modules = PersonInfoModule.class, dependencies = AppComponent.class)
public interface PersonInfoComponent {
    void inject(PersonInfoActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        PersonInfoComponent.Builder view(PersonInfoContract.View view);

        PersonInfoComponent.Builder appComponent(AppComponent appComponent);

        PersonInfoComponent build();
    }


}